package com.niguang.work.api.weChatTemplate;

import com.niguang.work.api.weChatTemplate.service.MonitorWeChatService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/test/")
public class Test {

    @Resource
    private MonitorWeChatService monitorWeChatService;


    @GetMapping("sendMonitor")
    public Boolean sendMonitor() {
        return monitorWeChatService.sendMonitor();
    }

}
